﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;

namespace T.FAS.Runtime.Base.Entity
{
    /// <summary>
    /// 变更项
    /// </summary>
    [Serializable]
    public class ChangeItem
    { 
        /// <summary>
        /// 变更项标识
        /// </summary>
        public string ID { get; set; }

        /// <summary>
        /// 变更集标识
        /// </summary>
        public string ChangeSetID { get; set; }

        /// <summary>
        /// 变更项标识：列名
        /// </summary>
        public string ItemCode { get; set; }

        /// <summary>
        /// 变更项类型
        /// </summary>
        public DataType DataType { get; set; }

        /// <summary>
        /// 旧值
        /// </summary>
        public object OldData { get; set; }

        /// <summary>
        /// 新值
        /// </summary>
        public object NewData { get; set; }
    }
}
